HASH GROUP BY
Short Description
Operation hashing a set of rows into groups for a query with a GROUP BY clause.
Detailed Description​
HASH GROUP BY creates an in memory hash table to bucket group by entries together. This is a very fast method of grouping unless you start spilling to disc. Look at TEMPSEG_SIZE
in the V$SQL_WORKAREA_ACTIVE
view for your session to see current usage.
Further Reading​
- Oracle Magazine - How to read an execution plan
- Oracle Tuning Guide - Explaining and Displaying Execution Plans
- Oracle Tuning Guide - Comparing Execution Plans Tutorial
Search online​
If this article doesn't have the information you need you can try searching online. Remember, you can contribute suggestions to this page.